package com.winter.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.winter.model.FinUnderline;

@Repository
public interface FinUnderlineMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FinUnderline record);

    int insertSelective(FinUnderline record);

    FinUnderline selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FinUnderline record);

    int updateByPrimaryKey(FinUnderline record);

    List<FinUnderline> finUlist(@Param("direct") String direct, @Param("fund_mode") String fund_mode, @Param("termUnit") String termUnit, @Param("rateUnit") String rateUnit, @Param("sortName") String sortName, @Param("sort") String sort, @Param("key") String key);

    int updateCount(@Param("type") String type, @Param("countType") String countType, @Param("id") Long relaId);

    List<FinUnderline> queryUserNo(@Param("userNo") String userNo);

    FinUnderline selectByIdKey();
}